package com.hrm.entity;

import com.hrm.util.MyObject;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class DepartmentStructure extends MyObject{

	private static final long serialVersionUID = 1L;

	private long id;

	public long getId (){
		return this.id;
	}

	private DepartmentStructure parentGroup;
	public DepartmentStructure getParentGroup() {
		return parentGroup;
	}

	public void setParentGroup(DepartmentStructure parentGroup) {
		this.parentGroup = parentGroup;
	}

	public void setId (long id){
		 this.id=id;
	}

	private String departmentName;

	public String getDepartmentName (){
		return this.departmentName;
	}

	public void setDepartmentName (String departmentName){
		 this.departmentName=departmentName;
	}

	private String telephone;

	public String getTelephone (){
		return this.telephone;
	}

	public void setTelephone (String telephone){
		 this.telephone=telephone;
	}

	private long upid;

	public long getUpid (){
		return this.upid;
	}

	public void setUpid (long upid){
		 this.upid=upid;
	}

	private String description;

	public String getDescription (){
		return this.description;
	}

	public void setDescription (String description){
		 this.description=description;
	}

}
